package com.Threecharacters.inherit_.ExtendDetail;

public class Sub extends Base {


    public Sub() {

        super(1,2);
        System.out.println("Sub Constructor");
    }

    public Sub(int money) {

        super(2);


    }

    public void sayHello() {
        System.out.println("Hello World");
    }

}
